package com.abing.api.model;

import lombok.Data;

/**
 * @Author CaptainBing
 * @Date 2024/9/5 9:47
 * @Description
 */
@Data
public class RequestBodyOption {

    private BodyType bodyType;

    private RequestBodyType requestBodyType;

    private Object requestBody;

    public enum BodyType {

        NONE,
        URLENCODED,
        FORM_DATA,
        BINARY,
        RAW,

    }

    public enum BaseType{

        STRING,
        INTEGER,
        BOOLEAN,
        NUMBER,
        FILE,
        ARRAY;


    }

    public enum RequestBodyType {

        JSON,
        XML,
        JAVASCRIPT,
        PLAIN,
        HTML,

    }

}
